import { httpRequest } from "@/http/axios"
import { menu } from "../../types/menu"

async function addMenu(menu: menu) {
  return httpRequest.request({
    url: "/api/sys/menu/add",
    method: "POST",
    data: menu
  })
}

export { addMenu }
